def test1():
    print("----test1----")


def test2():
    print("----test2----")

print("__name__=" + __name__) # 自己调用就是__main__
if __name__ == "__main__":
    test1()
    test2()
